using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using Magicodes.IE.Core;
using OfficeOpenXml.Table;

namespace Admin.NET.Application.Service.ReportForms.Dto;

/// <summary>
///
/// </summary>
[ExcelExporter(Name = "用水量", TableStyle = TableStyles.None, AutoFitAllColumn = true)]
public class ExportConsumptionWaterRecordDto
{
	/// <summary>
	/// 表号/imei/序列号
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "表号", IsBold = true)]
	public string Sn { get; set; }

	/// <summary>
	/// 名称
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "表名", IsBold = true)]
	public string Name { get; set; }

	/// <summary>
	/// 组合有功总电能（表显）
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "总用水量", IsBold = true)]
	public decimal TotalUsage { get; set; }

	/// <summary>
	/// 差值组合有功总电能（表显）
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "距上次总用水量", IsBold = true)]
	public decimal TotalUsageDifference { get; set; }

	/// <summary>
	/// 结算费用（元）
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "抄表结算金额(元)", IsBold = true)]
	public decimal? Amount { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "抄表时间", IsBold = true)]
	public DateTime? CreateTime { get; set; }
}
